ci: route remaining heavy workflows to self-hosted (Phase 2, fork-gated) - #551
Merged
Conversation
Reclaim GitHub-hosted machine-hours by routing the remaining heavy workflows onto the self-hosted fleet proven out by #439, using the same fork-gated runs-on expression (self-hosted for push/internal-branch PRs, GitHub-hosted fallback for fork PRs). - coin-matrix.yml (coin smoke matrix) -> self-hosted Linux / ubuntu-24.04 fork fallback - codeql-analysis.yml (Analyze legs) -> self-hosted Linux / ubuntu-24.04 fork fallback - attribution-gate.yml -> self-hosted Linux / ubuntu-latest fork fallback - safe-cosmetic-automerge.yml (evaluate) -> self-hosted Linux / ubuntu-24.04 fork fallback Build-env parity with build.yml on the two building jobs (coin-matrix, codeql c-cpp manual): clean stale reused build dir on self-hosted (rm -rf build_<coin> / build_codeql) to avoid stale gtest_discover exit-8, and skip apt system-deps on self-hosted (preinstalled). Per-coin source-presence guards (PR #47) untouched. CI plumbing only, no consensus/coin-tree changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 2 — route remaining heavy workflows to self-hosted (fork-gated)
Follow-on to #439 (build.yml self-hosted switch). Reclaims more of the
~95.6% machine-hours still on GitHub-hosted by routing the remaining
heavy workflows onto the self-hosted fleet, using the same fork-gated
pattern as #439: self-hosted for push / internal-branch PRs,
GitHub-hosted fallback for fork PRs.
Runners verified online before routing
gh api repos/frstrtr/c2pool/actions/runners— all online:Linux-905 (×4), Windows-217, Mac-mini-Alonso-227, macpro-intel-204.
Migrated (runs-on -> fork-gated self-hosted Linux)
coin-matrix.yml— coin smoke matrix (ltc/doge/dash/btc/dgb/bch)codeql-analysis.yml— Analyze legs (c-cpp + python)attribution-gate.ymlsafe-cosmetic-automerge.yml— evaluateBuild-env parity (the two building jobs only)
Mirrors build.yml on coin-matrix + codeql c-cpp manual:
rm -rf build_<coin>/build_codeql) — avoids the stalegtest_discoverexit-8 seen in ci(build): full self-hosted switch — Linux-905 (32c) + macOS M4/Intel + Windows-217, fork-gated #439Guardrails
Merge-gated: surfacing for a tap once the full rollup is CLEAN green.